* {
	padding: 0;
	margin: 0;
}

body {
	overflow: hidden;
}

.navbar {
	position: relative;
	width: 100vm;
}

.navbar-down {
	position: relative;
	top: -85vh;
	left: 20%;
	width: 1000px;
	height: 1000px;
}

.navbar-index {
	position: relative;
	top: -85vh;
	left: 20%;
	width: 1000px;
	height: 1000px;
}

.navbar-down iframe {
	position: absolute;
	width: 100vm;
	height: 50vh;
	transition: all 0.5s;
}

.navbar input {
	display: none;
}

.navbar label {
	position: absolute;
	top: 0;
	left: 70px;
	width: 100%;
	height: 43px;
	padding-left: 20px;
	font-size: 30px;
	color: #5a738e;
	background-color: #ededed;
	border: 1px solid #d9dee4;
	cursor: pointer;
	transition: all 0.5s;
}

.navbar label img {
	width: 45px;
	height: 43px;
}

.navbar ul {
	overflow: hidden;
	list-style: none;
	width: 70px;
	height: 100vh;
	background-color: #2a3f54;
	transition: all 0.5s;
}

.navbar ul li {
	height: 70px;
	margin-bottom: 10px;
}

.navbar ul li:first-child {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 0 10px;
}

.navbar ul li:first-child img {
	width: 50px;
	border-radius: 50%;
}

.navbar ul li:first-child span {
	display: none;
	color: #fff;
	white-space: nowrap;
}

.navbar ul li a {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	width: 100%;
	height: 100%;
	color: #d1d1d1;
	text-decoration: none;
}

.navbar ul li a i {
	font-size: 25px;
	margin-bottom: 10px;
}

.navbar ul li a span {
	font-size: 10px;
	white-space: nowrap;
}

.navbar ul li a:hover {
	color: #fff;
	background-color: #35495d;
}

.navbar input:checked+label {
	left: 200px;
}

.navbar input:checked~ul {
	width: 200px;
}

.navbar input:checked~ul li:first-child {
	justify-content: flex-start;
}

.navbar input:checked~ul li:first-child span {
	display: block;
}

.navbar input:checked~ul li a {
	flex-direction: row;
	justify-content: flex-start;
}

.navbar input:checked~ul li a i {
	font-size: 18px;
	margin: 0 15px;
}

.navbar input:checked~ul li a span {
	font-size: 13px;
}
